package com.ssrs.platform.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ssrs.platform.model.entity.Message;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssrs.platform.model.query.AllUserDataBindQuery;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author ssrs
 * @since 2020-11-15
 */
public interface MessageMapper extends BaseMapper<Message> {

    /**
     * 所有用户分页
     *
     * @param page
     * @param params
     * @return
     */
    IPage<AllUserDataBindQuery> alluserdatabind(Page<AllUserDataBindQuery> page, Map<String, Object> params);

    /**
     * 选择用户数据
     *
     * @param params
     * @return
     */
    List<AllUserDataBindQuery> selecteduserdatabind(Map<String, Object> params);
}
